package com.ruoyi.api.abuwx.service.impl;

import com.ruoyi.abuwx.domain.AbuwxRegional;
import com.ruoyi.abuwx.service.IAbuwxRegionalService;
import com.ruoyi.api.abuwx.service.RegionaService;
import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zouhuu
 * @description 客户端 地区管理模块 服务层
 */
@Service
public class RegionaServiceImpl implements RegionaService {



    @Autowired
    private IAbuwxRegionalService iAbuwxRegionalService;



    /**
     * 地址列表
     * @return
     */
    @Override
    public AjaxResult addressList() {
        List<AbuwxRegional> abuwxRegionals = iAbuwxRegionalService.selectAbuwxRegionalList(new AbuwxRegional());
        return AjaxResult.success(abuwxRegionals);
    }



}
